xo::library proc require (public)

 xo::library[i] require [ -package package ] filename

Defined in packages/xotcl-core/tcl/04-library-procs.tcl

Use this method to indicate when some other files (from the same package) are needed to be sourced before the current file. This method is useful in cases where the alphabetical loading order is a problem. A typical use-case is a file defining a subclass of another class. In this case, the file defining the subclass will require the definition of the base class.

Switches:
-package
(optional)
Parameters:
filename - filename without path and .tcl suffix

Partial Call Graph (max 5 caller/called nodes):
%3 apm_source apm_source (public) xo::library proc require xo::library proc require xo::library proc require->apm_source

Testcases:
No testcase defined.
[ show source ]
Show another procedure: